package com.bbc.entity.product;

import com.bbc.base.BaseQuery;

/**
 * 2012-11-26
 * 
 * @author hanshaofeng 
 * 
 */
public class ProductQuery extends BaseQuery {

	private Integer id;
	private Long numIid;
	private Integer showType;
	private String nick;
	private String cid;
	/* 商品上传后的状态。onsale出售中，instock库中 */
	private String approveStatus;
	private String type;
	private String title;
	private String fromKey;
	private Integer userId;
	
	private Integer type1;
	private Integer type2;
	private Integer type3;
	private Integer type4;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Long getNumIid() {
		return numIid;
	}

	public void setNumIid(Long numIid) {
		this.numIid = numIid;
	}

	public Integer getShowType() {
		return showType;
	}

	public void setShowType(Integer showType) {
		this.showType = showType;
	}

	public String getNick() {
		if ("".equals(nick)) {
			return null;
		}
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getCid() {
		if ("".equals(cid)) {
			return null;
		}
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getApproveStatus() {
		if ("".equals(approveStatus)) {
			return null;
		}
		return approveStatus;
	}

	public void setApproveStatus(String approveStatus) {
		this.approveStatus = approveStatus;
	}

	public String getType() {
		if ("".equals(type)) {
			return null;
		}
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		if ("".equals(title)) {
			return null;
		}
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getFromKey() {
		if ("".equals(fromKey)) {
			return null;
		}
		return fromKey;
	}

	public void setFromKey(String fromKey) {
		this.fromKey = fromKey;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getType1() {
		return type1;
	}

	public void setType1(Integer type1) {
		this.type1 = type1;
	}

	public Integer getType2() {
		return type2;
	}

	public void setType2(Integer type2) {
		this.type2 = type2;
	}

	public Integer getType3() {
		return type3;
	}

	public void setType3(Integer type3) {
		this.type3 = type3;
	}

	public Integer getType4() {
		return type4;
	}

	public void setType4(Integer type4) {
		this.type4 = type4;
	}

}
